﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Innerpage.master"
    CodeBehind="Zones.aspx.vb" Inherits="Phila.Zones" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
    <asp:Label ID="lblMsg" runat="server"></asp:Label>
    <div class="tour-list">
        <asp:DataList ID="dlTours" runat="server" RepeatColumns="3" ItemStyle-VerticalAlign="Top">
            <ItemTemplate>
                <div class="tour-container">
                    <span class="curves ctop"></span><span class="curves cbot"></span>
                    <div class="image">
                        <a href='<%# Eval("Id", "ZoneTours.aspx?zid={0}") %>'>
                            <asp:Image ID="imgThumb" runat="server" ImageUrl='<%# Eval("Thumbnail", "Images/Img/{0}") %>' />
                            <%--<asp:Image ID="imgThumb2" runat="server" ImageUrl='<%# ShowThumbnail(Eval("Thumbnail")) %>' />--%>
                        </a>                            
                    </div>
                    <div class="title">
                        <a href='<%# Eval("Id", "ZoneTours.aspx?zid={0}") %>'>
                            <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>' /></a></div>
                    <div class="summary">
                        <asp:Label ID="lblSummary" runat="server" Text='<%# Mid(Eval("Description"),1,100) %>' /></div>
                    <a href='<%# Eval("Id", "ZoneTours.aspx?zid={0}") %>' class="viewmore">View more</a>
                </div>
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
